PUT api/Timetables/Disable?ids[0]={ids[0]}&ids[1]={ids[1]}

Disables any number of Timetables indicated by the input IDs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ids

IDs of Timetable to disable

Collection of integer

Required

Body Parameters

None.

Response Information

Resource Description

object

GetTimetablesResponse
NameDescriptionTypeAdditional information
Timetables

Array of Timetables

Collection of Timetable

None.

Messages

Array of messages

Collection of Message

None.

ServerInformation

Relevant information regarding the Server

ServerInformation

None.

VersionInformation

Relevant information regarding the API's version

VersionInformation

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Timetables": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Enable": true,
      "Valid": true,
      "Time": "00:00:00.1234567",
      "IntervalType": 0,
      "IntervalTypeName": "Daily",
      "IntervalSetting1": 1,
      "IntervalSetting2": 1,
      "Repeat": true,
      "RepeatEvery": 1,
      "RepeatDuration": 1,
      "UserID": 1,
      "UserName": "sample string 5",
      "LastInterval": "2025-11-09T21:37:57.2450355+10:00",
      "LastRun": "2025-11-09T21:37:57.2450355+10:00",
      "NextInterval": "2025-11-09T21:37:57.2450355+10:00",
      "NextRun": "2025-11-09T21:37:57.2450355+10:00",
      "ApprovalPeriod": "00:00:00.1234567",
      "TargetID": 1,
      "TargetType": 0,
      "TargetTypeName": "SchedulingParent",
      "TargetName": "sample string 6"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Enable": true,
      "Valid": true,
      "Time": "00:00:00.1234567",
      "IntervalType": 0,
      "IntervalTypeName": "Daily",
      "IntervalSetting1": 1,
      "IntervalSetting2": 1,
      "Repeat": true,
      "RepeatEvery": 1,
      "RepeatDuration": 1,
      "UserID": 1,
      "UserName": "sample string 5",
      "LastInterval": "2025-11-09T21:37:57.2450355+10:00",
      "LastRun": "2025-11-09T21:37:57.2450355+10:00",
      "NextInterval": "2025-11-09T21:37:57.2450355+10:00",
      "NextRun": "2025-11-09T21:37:57.2450355+10:00",
      "ApprovalPeriod": "00:00:00.1234567",
      "TargetID": 1,
      "TargetType": 0,
      "TargetTypeName": "SchedulingParent",
      "TargetName": "sample string 6"
    }
  ],
  "Messages": [
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    },
    {
      "Severity": 0,
      "MessageCode": 1,
      "CodeDesc": 2,
      "MessageText": "sample string 3",
      "RecordNumber": 4
    }
  ],
  "ServerInformation": {
    "CurrentTimeUTC": "2025-11-09T21:37:57.2450355+10:00",
    "BuildDateUTC": "2025-11-09T21:37:57.2450355+10:00"
  },
  "VersionInformation": {
    "Major": 1,
    "Minor": 8,
    "Hotfix": 0,
    "Beta": true,
    "Version": "1.8.0.BETA"
  }
}